package org.example.model;

public class Teacher {
    private int teacherid ;
    private String name;
    private String idcard ;
    private String gender ;
    private String phone;
    private String address ;
    private Boolean partymember;
    private String position;
    private Integer departmentid;


    @Override
    public String toString() {
        return "Teacher{" +
                "teacherid=" + teacherid +
                ", name='" + name + '\'' +
                ", idcard='" + idcard + '\'' +
                ", gender='" + gender + '\'' +
                ", phone='" + phone + '\'' +
                ", address='" + address + '\'' +
                ", partymember=" + partymember +
                ", position='" + position + '\'' +
                ", departmentid=" + departmentid +
                '}';
    }

    public int getTeacherid() {
        return teacherid;
    }

    public void setTeacherid(int teacherid) {
        this.teacherid = teacherid;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getIdcard() {
        return idcard;
    }

    public void setIdcard(String idcard) {
        this.idcard = idcard;
    }

    public String getGender() {
        return gender;
    }

    public void setGender(String gender) {
        this.gender = gender;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public Boolean getPartymember() {
        return partymember;
    }

    public void setPartymember(Boolean partymember) {
        this.partymember = partymember;
    }

    public String getPosition() {
        return position;
    }

    public void setPosition(String position) {
        this.position = position;
    }

    public Integer getDepartmentid() {
        return departmentid;
    }

    public void setDepartmentid(Integer departmentid) {
        this.departmentid = departmentid;
    }
}
